<!DOCTYPE html>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
	<form name="f" 
		action="<c:url value="/paginas/cadastrarLivro.html" />"
		method="post">
		<fieldset>
			<div class="form-group">
				<label class="control-label" for="titulo"><fmt:message
						key="book.titulo" /></label>
				<div class="controls">
					<input type="text" name="titulo" id="titulo" value="${book.titulo}"
						class="form-control" />
				</div>

			</div>

			<div class="form-group">
				<label class="control-label" for="autor"><fmt:message
						key="book.autor" /></label>
				<div class="controls">
					<input type="text" name="autor" id="autor" value="${book.autor}"
						class="form-control" />
				</div>

			</div>

			<div class="form-group">
				<label class="control-label" for="isbn"><fmt:message
						key="book.isbn" /></label>
				<div class="controls">
					<input type="text" name="isbn" id="isbn" value="${book.isbn}"
						class="form-control" />
				</div>

			</div>

			<div class="form-buttons">
				<div class="button">
					<input name="submit" id="submit" type="submit"
						value="<fmt:message key="button.save"/>" class="btn btn-default" />
				</div>
			</div>
		</fieldset>
	</form>
</body>
</html>